package com.newear.marathon.dto.admin.inquiry;

import com.newear.marathon.utils.PageModel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class AdminUserInquiryPageRequestDTO
{

    @NotNull(message = "分页条件不能为空")
    private PageModel page;

    @Size(max = 50, message= "用户名长度不能超过50位")
    private String username;

    @Size(max = 19, message= "开始时间不能超过19位")
    private String startDateTime;

    @Size(max = 19, message= "结束时间不能超过19位")
    private String endDateTime;
}
